package com.bdqn.t350.ch11.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.t350.ch11.bean.Right;
import com.bdqn.t350.ch11.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RightMapper extends BaseMapper<Right> {

    public List<Right> selectList();

    public List<Right> getRightByUserName(@Param("user") User user);

}
